home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / pas_all.zip / TI198.ASC < prev    next >
Text File  |  1991-09-11  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.   PRODUCT : TURBO PASCAL                               NUMBER : 198
  10.   VERSION : 3.0xx
  11.        OS : PC-DOS
  12.      DATE : July 11, 1986                                PAGE : 1/2
  13.     TITLE : VIDEO ATTRIBUTES
  14.  
  15.  
  16.  
  17.  
  18.   The following table lists possible installations available for
  19.   the IBM implementation of Turbo Pascal using a color monitor.
  20.   Included are the locations in the TURBO.COM file where the
  21.   attributes for the indicated text intensities can be found. Using
  22.   the DOS program, DEBUG.COM you may access these locations and
  23.   make any desired changes.
  24.  
  25.   ________________________________________________________________
  26.   Install     | Menu Highlight| Menu LowVideo | Block     | Error
  27.   Turbo       | Edited Text   | Editor Status | Highlight | Msgs
  28.   Pascal      | Text OutPut   | Line HEX      | HEX       |
  29.   using TINST | Hex Color     | Location      | Location  |
  30.   ________________________________________________________________
  31.  
  32.   Color,      |               |               |           |
  33.   Default     |    0177       |     0178      |   0179    |  017A
  34.   ________________________________________________________________
  35.  
  36.   Monochrome  |    016F       |     0170      |   0171    |  0172
  37.   ________________________________________________________________
  38.  
  39.   Black &     |               |               |           |
  40.   White       |    0173       |     0174      |   0175    |  0176
  41.   ________________________________________________________________
  42.  
  43.   Assuming Turbo Pascal has been installed for a color monitor:
  44.  
  45.   1.   Using DEBUG to edit location 0177 of the TURBO.COM file.
  46.  
  47.   2.   Change it from the default value of $0E (Norm Video) to $8E
  48.        (Blinking Video).
  49.  
  50.   3.   Save the modification and run Turbo Pascal to see the
  51.        results.
  52.  
  53.   4.   This modification will cause all Normal Video characters to
  54.        blink. This includes the Error Messages Screen, the Main
  55.        Menu,  and the text in the Text Editor.
  56.  
  57.   Notes:
  58.  
  59.       Bit Map of the byte at these addresses are:
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.   PRODUCT : TURBO PASCAL                               NUMBER : 198
  76.   VERSION : 3.0xx
  77.        OS : PC-DOS
  78.      DATE : July 11, 1986                                PAGE : 2/2
  79.     TITLE : VIDEO ATTRIBUTES
  80.  
  81.  
  82.  
  83.  
  84.            High bit 8 - - - Blink Attribute
  85.                     7..4  - BackGround Color
  86.            Low bit  3..0  - ForeGround Color
  87.  
  88.   To modify the border color use: Port[$3D9] := i;    {i = 0..15}
  89.  
  90.   The following table is a list of the color combinations available
  91.   when patching Turbo Pascal. For example, the value 35 Hex would
  92.   give you Light Cyan text with a Magenta background.
  93.  
  94.   Hex #     BackGround Colors          TextColors
  95.   ________________________________________________________________
  96.  
  97.     1       Dark Blue                  Dark Blue
  98.     2       Green                      Green
  99.     3       Light Cyan                 Light Cyan
  100.     4       Red                        Red
  101.     5       Magenta                    Magenta
  102.     6       Brown                      Brown
  103.     7       Light Gray                 Gray
  104.     8       Black + Blink              Dark Gray
  105.     9       Light Blue + Blink         Light Blue
  106.     A       Green + Blink              Light Green
  107.     B       Cyan + Blink               Cyan
  108.     C       Red + Blink                Light Red
  109.     D       Magenta + Blink            Magenta
  110.     E       Brown + Blink              Yellow
  111.     F       Gray + Blink               White
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.